package cn.mcartoon.mapper;
import  cn.mcartoon.pojo.MmCartoonThemeRel;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;

@Component
public interface MmCartoonThemeRelMapper {

	public MmCartoonThemeRel getMmCartoonThemeRelById(@Param(value = "id") Long id);

	public List<MmCartoonThemeRel>	getMmCartoonThemeRelListByMap(Map<String,Object> param);

	public Integer getMmCartoonThemeRelCountByMap(Map<String,Object> param);

	public Integer insertMmCartoonThemeRel(MmCartoonThemeRel mmCartoonThemeRel);

	public Integer updateMmCartoonThemeRel(MmCartoonThemeRel mmCartoonThemeRel);

	public Integer deleteMmCartoonThemeRelById(@Param(value = "id") Long id);

	public Integer batchDeleteMmCartoonThemeRel(Map<String,List<String>> params);

}
